package com.bw.lib_log.logger

import com.bw.lib_log.LoggerLevel

/**
 * @Author : ZhouZiYao
 * @Time : On 2023/11/13 10:39
 * @Description : ILogger 所有logger的顶层接口
 */
interface ILogger {
    fun d(tag: String, log: String)
    fun v(tag: String, log: String)
    fun i(tag: String, log: String)
    fun w(tag: String, log: String)
    fun e(tag: String, log: String)

    /**
     * 是否支持debug调试
     */
    fun setDebug(isDebug: Boolean)

    /**
     * 设置TAG
     */
    fun setLogTag(TAG: String)

    /**
     * 设置日志等级
     */
    fun setLoggerLever(lever: LoggerLevel)

    /**
     * log存储位置，本地路径/网络路径/邮箱地址
     */
    fun setSaveUrl(url: String)
}